import {Routes} from 'Shared/utils/routeManager';
import {formatMessage} from './intl';
const routes = new Routes({
    query: {
        url: '/',
        title: formatMessage({
            id: 'routes.column.operation.query',
            defaultMessage: '查询'
        })
    },
    shipment: {
        url: '/:id/shipment',
        title: formatMessage({
            id: 'routes.operation.shipment',
            defaultMessage: '编辑'
        }),
        format: '/{0}/shipment'
    },
    import: {
        url: '/import',
        title: formatMessage({
            id: 'routes.operation.import',
            defaultMessage: '导入'
        }),
        format: '/import'
    }
});

export default routes;
